package com.linkhub.oms.admin.common.enums;

import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: EmailSourceEnum
 * @Author: echo
 * @Date: 2024/3/11 18:32
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum EmailSourceEnum implements IEnumConvert<Integer> {

    SIGN_UP(1, "Linkhub ERP注册"),
    RESET_PASSWORD(2, "Linkhub ERP修改密码")

    ;
    private final Integer source;
    private final String emailSubject;


    @Override
    public Integer getCode() {
        return this.getSource();
    }
}
